home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / gdb-4.5 / dist / glob / Makefile.in < prev    next >
Encoding:
Makefile  |  1992-03-08  |  2.1 KB  |  96 lines

  1. #
  2. # Makefile
  3. #   Copyright (C) 1990, 1991, 1992 Free Software Foundation
  4. #
  5. # This file is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2 of the License, or
  8. # (at your option) any later version.
  9. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. # GNU General Public License for more details.
  13. # You should have received a copy of the GNU General Public License
  14. # along with this program; if not, write to the Free Software
  15. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  16. #
  17.  
  18. # Seriously hacked by K. Richard Pixley <rich@cygnus.com>.
  19.  
  20. # Makefile for glob source is in -*- text -*- mode.
  21.  
  22. srcdir = .
  23.  
  24. prefix = /usr/local
  25.  
  26. exec_prefix = $(prefix)
  27. bindir = $(exec_prefix)/bin
  28. libdir = $(exec_prefix)/lib
  29.  
  30. datadir = $(prefix)/lib
  31.  
  32. mandir = $(prefix)/man
  33. man1dir = $(mandir)/man1
  34. man2dir = $(mandir)/man2
  35. man3dir = $(mandir)/man3
  36. man4dir = $(mandir)/man4
  37. man5dir = $(mandir)/man5
  38. man6dir = $(mandir)/man6
  39. man7dir = $(mandir)/man7
  40. man8dir = $(mandir)/man8
  41. man9dir = $(mandir)/man9
  42. infodir = $(prefix)/info
  43. includedir = $(prefix)/include
  44. oldincludedir =
  45. docdir = $(datadir)/doc
  46.  
  47. SHELL = /bin/sh
  48.  
  49. INSTALL = install -c
  50. INSTALL_PROGRAM = $(INSTALL)
  51. INSTALL_DATA = $(INSTALL)
  52.  
  53. AR = ar
  54. AR_FLAGS = lq
  55. BISON = bison
  56. MAKEINFO = makeinfo
  57. RANLIB = ranlib
  58.  
  59. #### Host, target, and site specific Makefile fragments come in here.
  60. ###
  61.  
  62. CFLAGS = $(H_CFLAGS) -g -I.
  63. RM = rm -f
  64.  
  65. #all:    libglob.a
  66. all:
  67.     @echo "Glob doesn't work yet, but readline uses a piece of its src"
  68.  
  69. .PHONY: check
  70. check:
  71.  
  72. install:
  73. info install-info clean-info:
  74. libglob.a: glob.o tilde.o
  75.     $(RM) -f $@
  76.     $(AR) $(AR_FLAGS) $@ glob.o tilde.o
  77.     $(RANLIB) libglob.a
  78.  
  79. glob.o:    glob.c
  80. tilde.o:    tilde.c
  81.  
  82. install:
  83.  
  84. tilde-test: tilde.c
  85.     $(CC) $(CFLAGS) -o tilde-test -DTEST tilde.c
  86. clean:
  87.     $(RM) *.o *.a
  88.  
  89. # with the gnu make, this is done automatically.
  90.  
  91. Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
  92.     $(SHELL) ./config.status
  93.  
  94.